package com.practice.share.service.impl;

import com.practice.share.basemapper.SameService;
import com.practice.share.mapper.UserMessageMapper;
import com.practice.share.model.pojo.UserMessage;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserMessageOperationServiceImpl extends SameService<UserMessage> {


    @Resource
    private UserMessageMapper userMessageMapper;


    public UserMessage getUserMessage(Integer userId) {
        return userMessageMapper.getUserMessage(userId);
    }


}
